Total Complexity | 32 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 289 |
Lines of code | 106 |
Logical lines of code | 63 |
Comment lines | 158 |
Methods | 15 |
Properties | 7 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
process_oauth_token() | 54 | 6 | 23 | |
is_valid_request() | 58 | 6 | 15 | |
get_seller_type_from_request() | 63 | 3 | 11 | |
extract_data() | 63 | 3 | 10 | |
__construct() | 68 | 2 | 7 | |
process() | 64 | 2 | 10 | |
was_token_processed() | 75 | 2 | 4 | |
mark_token_as_processed() | 79 | 1 | 3 | |
redirect_after_authentication() | 74 | 1 | 5 | |
get_token_from_request() | 78 | 1 | 3 | |
get_merchant_id_from_request() | 78 | 1 | 3 | |
get_merchant_email_from_request() | 78 | 1 | 3 | |
sanitize_string() | 79 | 1 | 3 | |
sanitize_merchant_email() | 78 | 1 | 3 | |
get_onboarding_redirect_url() | 78 | 1 | 3 |